home *** CD-ROM | disk | FTP | other *** search
- ATTACH
-
- Permits you to switch control of your terminal from your current process to
- another process in your job.
-
- The ATTACH command allows you to move quickly between processes that you have
- created with the SPAWN command. For example, while you are editing a file, you
- can SPAWN a subprocess (MAIL) to read a new mail message.
- Enter the ATTACH command to get back to back to the editing session. If you want
- to read another new mail message, you can use the ATTACH command to get back to
- the MAIL subprocess you already created.
-
- See also <SPAWN>
-
- Format: ATTACH [/PARENT] [process-name]
-
-
- Parameters: process-name
-
- Indicates the name of the subprocess to which the connection
- is to be made. Only the /PARENT qualifier or a process-name
- may be specified.
-
-
- Qualifiers: /PARENT
-
- Allows you to attach to your process' parent process.
- If there is no parent process an error message is printed.
-
-
- Examples:
-
- $ SPAWN MAIL
- %DCL-S-SPAWNED, process MAGNANI_3 spawned
- %DCL-S-ATTACHED, terminal now attached to process MAGNANI_3
- MAIL> ATTACH MAGNANI_2
- %DCL-S-RETURNED, control returned to process MAGNANI_2
- $ ATTACH MAGNANI
- MAIL>
-
-
- This example shows how to spawn subprocesses (MAGNANI_2 and
- MAGNANI_3) to move from MAIL to DCL back to MAIL. The
- ATTACH command allows you to transfer control between
- subprocesses.
-
- **NOTE**
- You always SPAWN a new process and ATTACH to a process that already exists.